<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<h3>springmvc 회원관리</h3><br>
<a href="${initParam.root }findByIdView.do">아이디로 회원 찾기</a><hr>
<c:choose>
	<c:when test="${sessionScope.mvo==null }">
		<%--비로그인 --%>
		<a href="${initParam.root }loginView.do">로그인</a><hr>
		<a href="${initParam.root }registerView.do">회원가입</a><hr>
	</c:when>
	<c:when test="${sessionScope.mvo!=null }">
		<%--로그인 --%>
		<a href="${initParam.root }auth_findAddress.do">주소로 회원검색</a><hr>
		<a href="${initParam.root }updateView.do">회원정보 수정</a><hr>
		<a href="auth_logout.do">로그아웃</a>
	</c:when>
</c:choose>